home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2004 #9
/
Amiga Plus CD - 2004 - No. 09.iso
/
amigaplus
/
tools
/
amigaos4_only
/
ifxlite
/
imagefx3
/
rexx
/
autofx
/
crystallize.ifx.pre
< prev
next >
Wrap
Text File
|
2004-08-03
|
699b
|
34 lines
/*
* Crystallize.ifx.pre
* Written by Thomas Krehbiel
*
* Crystallize Effect.
*
* Inputs:
* Word(Arg(1),1) = Sequence number
* Word(Arg(1),2) = Total number of frames (N)
*
* Returns:
* 0 if successful, non-zero on failure
*
*/
OPTIONS RESULTS
base = 'Autofx_Crystallize_'
gridx = GETCLIP(base||'gridx') ; IF gridx = "" THEN gridx = 10
gridy = GETCLIP(base||'gridy') ; IF gridy = "" THEN gridy = 10
Gadget.1 = 'INTEGER 100 5 50 14 "Grid X:"' gridx
Gadget.2 = 'INTEGER 100 20 50 14 "Grid Y:"' gridy
Gadget.3 = 'END'
NewComplexRequest '"Crystallize"' Gadget 220 45
IF rc ~= 0 THEN EXIT rc
CALL SETCLIP(base||'gridx', result.1)
CALL SETCLIP(base||'gridy', result.2)
EXIT